package com.blog.effective.note7;

/**
 * 测试自定义的终结方法.
 *
 * @author 张俊强~.
 * @date 2017/11/27-22:22.
 */
public class TestFinalizerMethod {


    public static void main(String[] args) {
        int i = 0;                  //标记while循环执行的次数
        MyFileOutputStream myFileOutputStream = new MyFileOutputStream();
        myFileOutputStream=null;

        String str1="aaa";
        String str2="bbb";
        str1.equals(str2);


        System.gc();
    }

}
